programs.ssh.matchBlocks.<name>.localForwards.*.host.port

Specifies port number to forward to.

Type
null or 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default
null
Example
8080
Declared
<home-manager/modules/programs/ssh.nix>